#pragma once


//三子棋游戏函数声明文件


#include<stdio.h>


#define COL 3
#define ROW 3

//打印菜单
void menu();

//初始化棋盘
void InitBoard(char Board[ROW][COL], int row, int col);

//打印棋盘
void DisPlayBoard(char Board[ROW][COL], int row, int col);

//玩家下棋
void PlayerMove(char Board[ROW][COL], int row, int col);

//电脑下棋
void ComputerMove(char Board[ROW][COL], int row, int col);

//游戏规则
char IsWin(char Board[ROW][COL], int row, int col);

//判断平局
int IsFull(char Board[ROW][COL], int row, int col);
